<template>
	<view>
		<menuBox :menuInfo = "menuInfo" v-if="canLook"></menuBox>
		<view v-else style="padding: 50upx; text-align: center;">
			当前用户没有查看通讯录的权限
		</view>
	</view>
</template>

<script>
	import menuBox from "@/wxcomponents/commonLayout/menu";
	import userMixins from '@/libs/userMixins.js'
	export default {
		mixins: [userMixins],
		data() {
			return {
				menuInfo: {
					base:{
						menuProp:[
							"name"	
						]
					},
					list:[
					{
						url: '/modules/org/index',
						name: "组织架构"
					},
					{
						url: "/modules/role/index",
						name: "角色分类"
					},
				]
				},
		
			}
		},
		components: {
			menuBox
		},
		computed: {
			canLook() {
				let isStudent = this.calMenuShow('学生身份');
				return !isStudent;
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
